#pragma once
#include "Mychart.h"

class MyFlowChart :	public MyChart
{
public:
	MyFlowChart(void)
	{
	}
	~MyFlowChart(void)
	{
	}
	

	Input * CreateInput()
	{
		return new FCInput(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	Output * CreateOutput()
	{
		return new FCOutput(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	Start * CreateStart()
	{
		return new FCStart(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	End * CreateEnd()
	{
		return new FCEnd(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	Condition * CreateCondition()
	{
		return new FCCondition(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	Transition * CreateTransition()
	{
		return new FCTransition(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	Processer * CreateProcesser()
	{
		return new FCProcesser(infor._x, infor._y, infor._width, infor._height, 
							infor._stroke, infor._strokeWidth, infor._fill);
	}

	string GetName()
	{
		return "FLowChart";
	}
};

